#define _CRT_SECURE_NO_WARNINGS
#include "List.h"

void test1()
{
	
	LTNode* plist = LTInit();

	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPrint(plist);



	LTPushFront(plist, 1);
	LTPrint(plist);

	LTPopBack(plist);
	LTPrint(plist);
	
	LTPopFront(plist);
	LTPrint(plist);
	
	LTNode* find = LTFind(plist, 2);

	LTInsert(find, 33);
	LTPrint(plist);
	LTErase(find);
	LTPrint(plist);

}

int main()
{
	test1();
	return 0;
}

